
package com.be.beadmin.quality.repository;

import com.be.beadmin.quality.entity.CustomComplaint;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zjm
* @date 2023-05-15
**/
public interface CustomComplaintRepository extends JpaRepository<CustomComplaint, String>, JpaSpecificationExecutor<CustomComplaint> {

    CustomComplaint findCustomComplaintByIdAndDelete(String id, Integer delete);

    CustomComplaint findCustomComplaintById(String id);

}